package com.lora.service;

import com.acooly.core.common.domain.AbstractEntity;
import com.lora.dto.EquipmentDto;

/**
 * 节点上报数据解析器
 */
public interface NodeDataResolver<T extends AbstractEntity> {

    EquipmentDto<T> resolve(String equipmentNumber, String data);

    T save(T equipment, boolean alarmFlag);
}
